﻿@model DAL.User
@{
    ViewBag.Title = "Profile Editor";
}
<link href="~/Content/EditPost.css" rel="stylesheet" />
<h2>Edit profile</h2>

<div id="profileEditor">
    @using (Html.BeginForm())
    {
        <h4>Name:</h4>
        @Html.TextBoxFor(m => m.Name)
        <h4>Description:</h4>
        @Html.TextAreaFor(m => m.Blog.Description,4,50,null)

        <h4>Country:</h4>
        @Html.TextBoxFor(m=>m.Country)
        
        <h4>Password:</h4>
        @Html.PasswordFor(m=>m.Password)
        <br/>
        <br/>
        <input type="submit" value="Save"/>
    }
</div>